package com.awanp3.nimbus.common.banner.enums;

import org.springframework.boot.ansi.AnsiElement;

/**
 * @author 20014170
 */
public enum AnsiCtrl implements AnsiElement {
    BS("\b"),
    HT("\t"),
    CR("\r"),
    LF("\n"),
    START_PRIVACY_MESSAGE("\u001b^"),
    INSERT_MODE("\u001b[4h"),
    REPLACE_MODE("\u001b[4l");

    private final String code;

    private AnsiCtrl(String code) {
        this.code = code;
    }

    public String toString() {
        return this.code;
    }
}
